<!doctype html>
<html>
<head>
	{include file="user/user_top.tpl"}
	<link rel="stylesheet" type="text/css" href="/static/css/user_min.css">
	<style>
		{literal}
		.user_send_succ .notice
		{
			margin-bottom: 0;
		}
		a{color:#428bca;text-decoration:none}
		a:hover,a:focus{color:#2a6496;text-decoration:none;}
		a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}
		#ts{}
		{/literal}
	</style>
</head>
<body>
{include file="user/user_header.tpl"}
<div class="main_wrap">
	<div class="user_reg user_send_succ">
		<h2 class="model">{$title}</h2>
		<div>
			<p class="tips_icon"><i class="user_icons {$type}"></i></p>
			<div class="system_msg"></div>
			<div class="notice">{$msg}</div>
			<div class="item">
				{if isset($time) && $time>0}
				<div class="to_btn"><a id="url" href="{if isset($url)}{$url}{/if}"><b id="ts">{$time}</b>秒自动跳转返回</a></div>
				{/if}
			</div>
		</div>
	</div>
</div>
<img class="lbbg" src="/static/img/user/bg1.png"/>

	<script type="text/javascript">
		var interval1;
		function gid(id) { return document.getElementById ? document.getElementById(id) : null; }
		function timeDesc() {
			if (all <= 0) {
				clearInterval(interval1);
				var url = "{if isset($url)}{$url}{/if}";
				if(!url)
				{
					history.go(-1);
				}
				else
				{
					location.href = url;
				}
			}
			var obj = gid("ts");
			if (obj) obj.innerHTML = all + "";
			all--;
		}
		var all = "{if isset($time) && $time>0}{$time}{/if}";
		all = parseInt(all);
		if (all && all>0) interval1=window.setInterval("timeDesc();", 1000);

	</script>

{include file="user/user_footer.tpl"}